<?php

namespace App\Controller\Example;

class CartExample extends BaseExample
{
    public $id;// int NOT NULL AUTO_INCREMENT,
    public $serial;// varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '订单号',
    public $uid;// int NOT NULL COMMENT '用户id',
    public $bid;// int NOT NULL COMMENT '商家id',
    public $price;// decimal(15,2) NOT NULL COMMENT '订单总金额',
    public $pay_price;// decimal(15,2) DEFAULT '0.00' COMMENT '需要支付的金额',
    public $pay_amount;// decimal(15,2) DEFAULT '0.00' COMMENT '实付金额',
    public $integral;// decimal(30,8) DEFAULT '0.00000000' COMMENT '支付积分',
    public $time;// datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '生成时间',
    public $stime;// datetime DEFAULT NULL COMMENT '结算时间',
    public $ptime;// datetime DEFAULT NULL COMMENT '确认支付时间',
    public $pay_type;// varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '支付方式',
    public $rtime;// datetime DEFAULT NULL COMMENT '确认收货时间',
    public $status;// int NOT NULL DEFAULT '1' COMMENT '状态1，生成购物车，2未结算，3已结算/待支付 4已经支付/待收货 5 已发货 6完成/已收货 -1删除/清空',
    public $addrid;// int DEFAULT NULL COMMENT '收货地址id',
    public $remarks;// varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '备注',
    public $courier_number;// varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '快递单号',
    public $type;// int NOT NULL COMMENT '商品类型：1 正式单 2 测试单',
}